<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%--<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>--%>

<!Doctype html>
<html lang="en">

<head>
    <title>Login | Jfinal-cms</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- COMPONENTS CSS -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/linearicons/style.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/chartist/css/chartist-custom.css">
    <!-- MAIN CSS -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/main.css">
    <!-- MTREE CSS -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/mtree/css/mtree.css">
    <!-- GOOGLE FONTS -->
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
    <!-- ICONS -->
    <link rel="apple-touch-icon" sizes="76x76" href="${pageContext.request.contextPath}/assets/img/apple-icon.png">
    <link rel="icon" type="image/png" sizes="96x96" href="${pageContext.request.contextPath}/assets/img/favicon.png">
</head>

<body>
<!-- WRAPPER -->
<div id="wrapper">
    <%-- 用户顶部控制栏 --%>
    <%@ include file="/WEB-INF/view/base/main/sys_navbar.jsp"%>
    <%-- 根据用户权限进行配置的左部选项栏 --%>
    <%@ include file="/WEB-INF/view/base/main/sys_toolbar.jsp"%>
    <%-- 右部操作区 --%>
    <div id="operation"></div>
</div>
<!-- END WRAPPER -->

<script src="${pageContext.request.contextPath}/assets/components/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/components/bootstrap/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/components/layer/layer.js"></script>
<script src="${pageContext.request.contextPath}/assets/js/klorofil-common.js"></script>
<script>
    $(function() {
        $('#operation').load("${pageContext.request.contextPath}/dashboard");
    });

    // 跳转至相应页面
    function goToUrl(url) {
        $('#operation').load(url);
    }
</script>
</body>

</html>

